import axios from '../axios.helper'

export function useQrCodeAPI(){
    return {
        validCodeStatus(channelId: string):Promise<any>{
            return axios.post("/vaildScanCode", { channelId: channelId });
        },
        getQrCode(){
            return axios.get("/qrCode?t="+new Date().getTime());
        }
    }
  
}
